<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('Document')" />
    <th:block th:include="include :: bootstrap-fileinput-css" />
    <style>

    </style>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-audit-comment" >
        <input type="hidden" name="auditId" th:value="${auditId}"/>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">Comment：</label>
            <div class="col-sm-8">
                <!--<input name="comment" class="form-control" type="texte" required>-->
                <textarea name="comment" class="form-control" maxlength="999" rows="4" required></textarea>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: bootstrap-fileinput-js" />
<script th:inline="javascript">
    var prefix = ctx + "system/request2";

    $("#form-audit-comment").validate({
        focusCleanup: true
    });
    function submitHandler() {
        if ($.validate.form()) {
            var data = $('#form-audit-comment').serializeArray();
            $.operate.save(prefix + "/approveComment", data);
        }
    }
</script>
</body>
</html>